<html>
<body>
Isolated App Subresource Cookies

<!-- Check that the correct set of cookies are used for images. -->
<img width="100" height="100"
     src="/expect-and-set-cookie?expect=nonApp%3d1&set=nonAppImage%3d1" />

<img width="100" height="100"
     src="/expect-and-set-cookie?expect=app1%3d3&set=app1Image%3d1" />

<!-- Check that the correct set of cookies are used for media. -->
<video width="100" height="100" controls="controls" preload="metadata/auto">
  <source src="/expect-and-set-cookie?expect=nonApp%3d1&set=nonAppMedia%3d1"
          type="video/webm">
</video>

<video width="100" height="100" controls="controls" preload="metadata/auto">
  <source src="/expect-and-set-cookie?expect=app1%3d3&set=app1Media%3d1"
          type="video/webm">
</video>

</body>
</html>
